i program that generate barcode into DAT File,
i think it has been done but i forget to sort the value of the generated text, this is the OUTPUT
BackdateInformation:20140901
FUND_UALFND_1:PRMF
FUND_UALPRC_1:
FUND_UALFND_2:PRFF
FUND_UALPRC_2:
FUND_UALFND_3:PREF
FUND_UALPRC_3:70
FUND_UALFND_4:PRCF
FUND_UALPRC_4:
FUND_UALFND_5:PRMP
FUND_UALPRC_5:
FUND_UALFND_6:PRGC
FUND_UALPRC_6:30
FUND_UALFND_7:PREP
FUND_UALPRC_7:
PAYMENT_BILLFREQ:12

and this is the MUST TO BE OUTPUT
BackdateInformation:20140901
FUND_UALFND_1:PREF
FUND_UALPRC_1:070
FUND_UALFND_2:PRGC
FUND_UALPRC_2:030
FUND_UALFND_3:N
FUND_UALPRC_3:000
FUND_UALFND_4:N
FUND_UALPRC_4:000
FUND_UALFND_5:N
FUND_UALPRC_5:000
FUND_UALFND_6:N
FUND_UALPRC_6:000
FUND_UALFND_7:N
FUND_UALPRC_7:000
PAYMENT_BILLFREQ:12

i have do it by using List and Sort it with Collections Sort and Comparator but it is not worked,anyone can help me??