0:00
uh hello guys welcome to this video so
0:02
in this video I will show you if you
0:04
want to sort your Json alphabetically
0:07
using the keys so there is a extension
0:10
here sord Json if you go to extension
0:12
and just type this sord Json quite a
0:15
number of extensions which will pop in
0:17
the very popular one is this one sort
0:19
Json objects and what this extension
0:22
will do it will actually sort the keys
0:24
of your Json alphabetically so the
0:28
alphabets appearing like this A B C D so
0:31
it will sort this alphabetically so if
0:34
you want to activate this extension
0:36
simply click the install button it's you
0:38
can see it's installed by over
0:41
6,000 600,000 developers so simply
0:45
install this and activate this extension
0:48
and as soon as it activates now let me
0:51
show you the we have this sample. Json
0:56
so we have a bunch of properties inside
0:59
this array of Json objects each object
1:02
containing four properties now if you
1:04
want to alphabetically sort this you
1:06
simply select the Json and then open the
1:08
command pallet can short use the
1:11
shortcut key control shift p and then
1:15
sort document so we have different
1:19
properties here from which we can sort
1:21
we can sort it by alphabetically key
1:24
length reverse alphabetically reverse
1:27
key length so all these properties are
1:29
there you you can ascending or
1:31
descending order as well so simply
1:33
select just type sort document here so
1:37
by default it will sort everything by
1:39
alphabetically order you will see that
1:41
so B is appearing Then I then T then
1:46
youu so by default it actually sort your
1:48
document alphabetically but you can even
1:50
change this as well so simply type sort
1:53
Json and if you want to sort this by key
1:56
length then you will like this you will
1:58
see that so it sorted everything by the
2:03
length and then we also have sort Json
2:07
if you want to sort Json by descending
2:18
everything so you can see that
2:24
it so you can try this
2:26
extension so you will see that sort Jon
2:30
by values so you'll see it will sort
2:34
values so it's a nice little extension
2:37
which actually does the Sorting thing
2:41
Json with different types say we'll see
2:43
reverse values as well
2:49
so so by default if you just type your
2:51
sort Jon so there will be this option
2:54
coming sort Jon sort document so it will
2:57
sort everything by alphabetically order
2:59
so so if you need this extension you can
3:01
try this it's a very popular extension
3:06
600,000 installs are there uh thank you
3:09
very much for watching this video and
3:11
also check out my website free mediat
3:13
tools.com which contains thousands of
3:16
tools regarding audio video and image
3:18
and I will be seeing you in the next