Wondering how to sort a string field to put them in the order of sequence. the field follows following format.
XXYY-ZZZZ
where
XX - last two digits of Year
YY - two digits of month.
ZZZZ - numeric sequence.
Example data. (in this 900 sequence to bring in before 1000).
1409‑1154
1409‑1212
1409‑1220
1411‑1000
1411‑1009
1411‑1016
1411‑1020
1411‑1025
1411‑1028
1411‑1034
1411‑1037
1411‑1038
1411‑1040
1411‑940
1411‑972
1411‑974
1411‑976
1411‑977
1411‑981
1411‑982
1411‑985
1411‑986
1411‑987
1411‑988
Thanks and Regards,
Zaheer.
XXYY-ZZZZ
where
XX - last two digits of Year
YY - two digits of month.
ZZZZ - numeric sequence.
Example data. (in this 900 sequence to bring in before 1000).
1409‑1154
1409‑1212
1409‑1220
1411‑1000
1411‑1009
1411‑1016
1411‑1020
1411‑1025
1411‑1028
1411‑1034
1411‑1037
1411‑1038
1411‑1040
1411‑940
1411‑972
1411‑974
1411‑976
1411‑977
1411‑981
1411‑982
1411‑985
1411‑986
1411‑987
1411‑988
Thanks and Regards,
Zaheer.