Probably the easiest way would be to use a dynamic array:
var
MyArray: array of Integer;
...
...
SetLength(MyArray, <Value>); //Sets the length of the array to <Value> elements
Don't bother with sorting the array, just insert each new element in the right position after moving all the higher values up one place. To delete an element, move all the higher values down one place.