python: Simplify list sorting
authorMathieu Bridon <bochecha@daitauha.fr>
Thu, 9 Aug 2018 08:27:24 +0000 (10:27 +0200)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 9 Aug 2018 23:49:19 +0000 (16:49 -0700)
commit08fe9b3e3a5bd18db39daa56ecae3fc1a0708ff5
treee2148064b1f6b522049e59ab18475a97f241f1a2
parent8d3ff6244c7cc5a8399afcf0d1d98d7fd8148452
python: Simplify list sorting

Instead of copying the list, then sorting the copy in-place, we can just
get a new sorted copy directly.

Signed-off-by: Mathieu Bridon <bochecha@daitauha.fr>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/mapi/mapi_abi.py