Reversed the sorting order, last added package now shows at top
Added defensive code for ArrayIndexOutOfBoundsException
Added missing drawables