Sortable by element index. Refactored inserting.