sorting passwords in ascending order (A-Z) with insertion sort