Custom ID Sort within Custom Column

Hey! I have a table that has a custom column that uses a metachain to call a set of elements that have custom IDs associated. The IDs look something like this: ID-001-A, ID-002-B, ID-003-A, ID-004-B. But they kind of just appear all over the place when it pulls the data, so something more like: 

ID-003-A

ID-004-B

ID-001-A

ID-002-B

 

Is there any way at all that I can sort these?