create class for Ordered array