#12 - Sort Array by Key

-added sortKey function