Refactor callback insertion

Add a new function - sampgdk_array_insert_ordered() - that inserts an
element into an array according using a custom comparator.