Implements buffer order