Initial implementation for minimum decrement sorting with limited operations allowed. This implementation is simple but very inefficient.