This closes the function request issue #10 that I created.
Additions:
Copy(): Produce a copy of a OrderedMap object
Reverse(): Reverse a certain OrderedMap object
First() and Front(): Alias for Oldest
Last() and Back(): Alias for Newest
Tests for Copy and Reverse
Notes:
Copy could technically be optimized via some memory library but this should be performant enough without causing too much overhead.
Reverse could be more readable if the generic list library implemented a reverse function, nevertheless its just as efficient.
I decided against Keys() and Values() at least for now due to mis-interruptions and limited use cases.
You might notice that First, Front, Last, and Back are technically not aliases as they do not call Oldest and Newest. I leaned on the side of efficiency (bypassing the function call) because the definition is a one-line / straightforward.
This closes the function request issue #10 that I created.
Additions:
Notes:
I am happy to make any changes upon request.